package com.cy.myblog.pageModel;

/**
 * 封装邮件相关属性
 * Created by Administrator on 2015/6/18.
 */
public class MailInfoDTO {
    private String mailServerPort = "25"; //发送邮件的端口号
    private String[] toAddress;             //邮件发送者地址
    private String username;              //登录邮件发送服务器的用户名和密码
    private String password;
    private boolean validate = false;     //是否需要验证身份
    private String subject;               //发送邮件的标题
    private String content;               //发送邮件的内容
    private String[] attachFileNames;     //邮件附件的文件名

    public String getMailServerPort() {
        return mailServerPort;
    }

    public void setMailServerPort(String mailServerPort) {
        this.mailServerPort = mailServerPort;
    }

    public String[] getToAddress() {
        return toAddress;
    }

    public void setToAddress(String[] toAddress) {
        this.toAddress = toAddress;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public boolean isValidate() {
        return validate;
    }

    public void setValidate(boolean validate) {
        this.validate = validate;
    }

    public String getSubject() {
        return subject;
    }

    public void setSubject(String subject) {
        this.subject = subject;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public String[] getAttachFileNames() {
        return attachFileNames;
    }

    public void setAttachFileNames(String[] attachFileNames) {
        this.attachFileNames = attachFileNames;
    }
}
